﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Setup/MasterPage.master" AutoEventWireup="true" CodeFile="GlobalSettings.aspx.cs" Inherits="Setup_GlobalSettings" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 241px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width:100%;">
        <tr>
            <td class="style1">
                主题</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" AppendDataBoundItems="True">
                    <asp:ListItem Value=" ">不使用主题</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                数据库类型</td>
            <td>
                <asp:DropDownList ID="dbtype" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style1">
                数据库连接在配置文件中的名称</td>
            <td>
                <asp:TextBox ID="connstrname" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                管理员表</td>
            <td>
                <asp:TextBox ID="admintablename" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                管理员表主键</td>
            <td>
                <asp:TextBox ID="admintablepk" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                用户名字段</td>
            <td>
                <asp:TextBox ID="unamecolumnname" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                密码字段</td>
            <td>
                <asp:TextBox ID="passwdcolumnname" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                允许权限</td>
            <td>
                <asp:CheckBox ID="allowbrow" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style1">
                允许角色</td>
            <td>
                <asp:CheckBox ID="allowrole" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style1">
                角色表</td>
            <td>
                <asp:TextBox ID="roletablename" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                角色表主键</td>
            <td>
                <asp:TextBox ID="rolePk" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                角色名称字段</td>
            <td>
                <asp:TextBox ID="roleName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                管理员表角色字段（外键）</td>
            <td>
                <asp:TextBox ID="rolecolumnname" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style1">
                后台文件夹</td>
            <td>
                <asp:TextBox ID="admindir" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="确定" />
            </td>
        </tr>
    </table>
</asp:Content>

